package com.cvte.shop.entity;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.*;
import com.cvte.csb.validator.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;



/**
 * 最终结果
 *
 * @author inv
 * @since 2020-08-04
 */
@Table(name = "UNIVERSAL_METHOD_RESULT")
@ApiModel(description = "最终结果")
@Data
@EqualsAndHashCode
public class UniversalMethodResult extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 表的id
     */
    @Column(name = "TABLE_ID")
    @ApiModelProperty(value = "表的id")
    private String tableId;
    /**
     * 表的id
     */
    @Column(name = "VIEW_ID")
    @ApiModelProperty(value = "表的id")
    private String viewId;
    /**
     * 最后结果拼接sql
     */
    @Column(name = "SQL_CONTEXT")
    @ApiModelProperty(value = "最后结果拼接sql")
    private String sqlContext;

}
